package com.xinruke.hostels.manage.user.interfaces.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author GuoZheng
 * @ClassName RoleRightsQueryDTO
 * @date：2019/6/18
 * @version: V1.0.0
 * @description：通过角色id查询权限请求
 */


@ApiModel("通过角色id查询权限请求")
@Data
public class RoleRightsQueryDTO {
    @ApiModelProperty(value = "角色id",required = true)
    @NotNull(message = "角色id不能为空")
    private  Integer roleId;
}
